<template>
  <el-row :gutter="24" style="margin-left:10px">
    <el-col :span="17">
      <DetailContent :dataModel="data"></DetailContent>
    </el-col>
    <el-col :span="7" class="table-form-approve">
      <Approve :dataKey="device_patrol_plan.deviceBasicId" />
    </el-col>
  </el-row>
</template>
<script>
import { mapState, mapMutations } from "vuex";
import Approve from "@/components/ApproveForm";
import DetailContent from "./detailContent";
import data from "./const";
export default {
  components: { Approve, DetailContent },
  data() {
    return {
      data
    };
  },
  computed: {
    ...mapState(["device_patrol_plan", "app"])
  }
};
</script>
